package com.sinosun.autotestmachine;

/**
 * 测试结果列表的子元素
 * @author HYW
 *
 */
public class Element {
	private String eleStr;
	private int eleFlag;
	private boolean endFlag;
	private int index;
	private String taskId;
	
	public Element() {
		this(0, new String(), 0);
	}
	
	public Element(int index, String eleStr, int eleFlag) {
		this.eleStr = eleStr;
		this.eleFlag = eleFlag;
		this.index = index;
		this.endFlag = false;
		this.taskId = new String();
	}
	
	public Element(int index) {
		this(index, new String(), 0);
	}
	
	public Element(String eleStr) {
		this(0, eleStr, 0);
	}
	
	public Element(boolean eleFlag) {
		this(0, new String(), 0);
	}
	
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	
	public String getTaskId() {
		return this.taskId;
	}
	
	public void setEndFlag(boolean endFlag) {
		this.endFlag = endFlag;
	}
	
	public boolean getEndFlag() {
		return this.endFlag;
	}
	
	public String getEleStr() {
		return this.eleStr;
	}
	
	public void setEleStr(String eleStr) {
		this.eleStr = eleStr;
	}
	
	public void setEleFlag(int eleFlag) {
		this.eleFlag = eleFlag;
	}
	
	public int getEleFlag() {
		return this.eleFlag;
	}
	
	public void setIndex(int index) {
		this.index = index;
	}
	
	public int getIndex() {
		return this.index;
	}

}
